<script lang="ts" setup name="GoodsTotal">
import { getGoodsTotalAPI } from '~/src/api/procure'
import { goodsTotalColumns } from './info/columns'
</script>

<template>
  <div class="auto-height-container">
    <pro-table
      ref="proTable"
      :columns="goodsTotalColumns"
      :indent="20"
      :initParam="{ isRetail: 1 }"
      :isCard="false"
      :request-api="getGoodsTotalAPI"
      row-key="id"
      title="商品库存列表"
    >
      <template #tableHeader>
        <!-- <el-button type="primary" @click="printBox">打印</el-button> -->
      </template>
    </pro-table>
  </div>
</template>

<style lang="scss" scoped></style>
